package com.scoring.system.mapper;

import java.util.List;

import com.scoring.system.pojo.MoralAchievement;

public interface MoralAchievementMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MoralAchievement record);

    int insertSelective(MoralAchievement record);

    MoralAchievement selectByPrimaryKey(Integer id);
    
    MoralAchievement selectByStudent(Integer studentId);
    
    List<MoralAchievement> listMoralAchievementByClass(Integer classId);

    int updateByPrimaryKeySelective(MoralAchievement record);

    int updateByPrimaryKey(MoralAchievement record);
}